<script setup>
defineProps({
  icon: {
    type: String,
    required: true
  },
  name: {
    type: String,
    required: true
  }
})
</script>

<template>
  <button class="action-button">
    <span class="icon">{{ icon }}</span>
    <span class="name">{{ name }}</span>
  </button>
</template>

<style scoped>
.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: none;
  background: #f5f7f9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-button:hover {
  background: #e8f5e9;
  transform: translateY(-2px);
}

.icon {
  font-size: 24px;
}

.name {
  font-size: 14px;
  color: #2c3e50;
}
</style> 